package com.loie.xcx.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author zhl
 * @create 2023/11/30 21:44
 */
@Data
@Configuration
@EnableConfigurationProperties(EmailConfig.class)
@ConfigurationProperties(prefix = "email")
public class EmailConfig {
    private String url;
    private String from;
    private String user;
    private String password;
    private String port;
}
